added samples
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2010 / VBAzureBingMaps / DAL / CreateTable.sql
blobd5aab34eda16047309f43dfb4ca63c2ebd9249d3
1 -- Run this script against your database to create the Travel table.
3 CREATE TABLE [dbo].[Travel](
4       [PartitionKey] [nvarchar](200) NOT NULL,
5       [RowKey] [uniqueidentifier] NOT NULL,
6       [Place] [nvarchar](200) NOT NULL,
7       [GeoLocation] [geography] NOT NULL,
8       [Time] [datetime] NOT NULL,
9 CONSTRAINT [PK_Travel] PRIMARY KEY CLUSTERED 
11       [PartitionKey] ASC, [RowKey] ASC
13 CONSTRAINT [IX_Travel] UNIQUE NONCLUSTERED 
15       [Place] ASC,
16       [Time] ASC